
import Request from "./index";


export class http {
  public axios: any;
  constructor() {
    this.axios = new Request();
  }
  public post(url: string, data?: object) {
    return this.axios.instance.post(url, data);
  }
  public get(url: string, data?: object) {
    return this.axios.instance.get(url, data);
  }
}
